
<div class="fui-page fui-page-current">
    <div class="fui-header">
        <div class="fui-header-left">
            <a class="back" ng-click="goback()"></a>
        </div>
        <div class="title">{{pagedata.set.tcenter||'股东中心'}}</div>
    </div>
    <div class="fui-content">
		<div style="background: {{main.syscolor||'#05c175'}};padding:1rem 0.5rem;margin-top:0;padding-bottom:1.6rem;">
			<div class="fui-cellone" style="padding:0">
				<div class="fui-cellone-label" style="width:auto;">
					<img style="border-radius: 0.2rem;width:2.2rem;height:2.2rem" ng-src="{{tomedia(pagedata.member.avatar) || '../core/resource/images/nopic.jpg'}}" />
				</div>
				<div class="fui-cellone-text" style="font-size:0.7rem;color:#fff;padding-left:0.5rem">
					<div style="padding-bottom:0.2rem">
						<span class="bold">{{pagedata.member.nickname|| '匿名用户'}} </span>
					</div>
					<div ng-if="pagedata.merch.merchname" style="font-size:0.6rem;">
						商户：{{pagedata.merch.merchname}}
					</div>
					<div style="font-size:0.6rem;">
					分红比例：{{pagedata.member.bonus}}(总额)
					</div>
					<div style="font-size:0.6rem;">
					{{pagedata.member.levelname}}
					</div>
				</div>
			</div>	
			<div class="fui-icon-group noborder  col-3" style="padding-top:0.5rem">
					<div class="fui-icon-col-sm external" style="margin:0">
													<div href="javascript:;" ng-click="access_json('jy_globonus/bonus/')">
														<div class="subtitle" style="font-size:0.7rem;color:#fff">{{pagedata.set.zhouqi!=2?'本月预计分红金':'本周预计分红金'}}</div>
														<div class="text bold" style="color:#fff;line-height:1.6rem;font-size:1rem">{{pagedata.allredfee || '0.00'}}</div>
													</div>
					</div>
					<div class="fui-icon-col-sm external" style="margin:0">
													<div  href="javascript:;" ng-click="access_json('jy_wxshifu/worker_order//today=1')">
														<div class="subtitle" style="font-size:0.7rem;color:#fff">累计分红</div>
														<div class="text bold" style="color:#fff;line-height:1.6rem;font-size:1rem">{{pagedata.bonustotal || 0}}</div>
														
													</div>
					</div>
					<div class="fui-icon-col-sm external" style="margin:0">
													<div href="javascript:;" ng-click="access_json('jy_globonus/bonus//status=0')">
														<div class="subtitle" style="font-size:0.7rem;color:#fff">待结算分红</div>
														<div class="text bold" style="color:#fff;line-height:1.6rem;font-size:1rem">{{pagedata.bonuslock || 0}}</div>
													</div>
					</div>
			</div>			
		</div>
		<div style="padding:0.5rem;margin-top:-2rem; ">
		<div class="fui-cell-group">
			<a href="javascript:;" ng-click="access_json('jy_globonus/bonus//status=1')" class="fui-cell">
				<div class="fui-cell-text">已结算分红<span>{{pagedata.bonusok || 0.00}}</span> 元</div>
				<div class="fui-cell-remark" style="font-size: 0.5rem;">查看</div>
			</a>
		</div>
        <div ng-if="pagedata.set.notice!=''" class='fui-according-group'>
            <div class='fui-according expanded'>
                <div class='fui-according-header'>
                    <div class='text'>股东须知</div>
                    <div class='remark'></div>
                </div>
                <div class='fui-according-content'>
                    <div class='content-block'>
                      {{pagedata.set.notice}}
                    </div>
                </div>
            </div>
        </div>
		<div ng-if="pagedata.pluginset.no_redfee!=1" class="fixed-title" style="margin-top:0.5rem">
							 <span class="befirst spacing">
								 <span class="icon icon-fengexianzuo" style="font-size:2rem;color:#666"></span>
							 </span> 
							 <span class="title-text bold" style="color:#333;line-height:2rem">{{pagedata.set.zhouqi!=2?'本月预计分红池明细':'本周预计分红池明细'}}</span> 
							 <span class="spacing">
								 <span class="icon icon-fengexianyou" style="font-size:2rem;color:#666"></span>
							 </span>
		</div>
		<div ng-if="pagedata.pluginset.no_redfee!=1" class='content-empty' ng-show="!pagedata.list || pagedata.list.length<=0" style="margin-top:1rem">
				<i class='fa fa-comment-o'></i><br/>暂时没有任何记录!
		</div>
		<div ng-if="pagedata.pluginset.no_redfee!=1" class='fui-list-group container' ng-show="pagedata.list.length>0" >
				<div class="fui-list goods-item" ng-repeat="item in pagedata.list">
					<div class="fui-list-media">
						<img ng-src="{{tomedia(item.member.avatar) ||'../core/resource/images/nopic.jpg'}}" class="round" style="width:2rem;height:2rem">
					</div>
					<div class="fui-list-inner">
						<div class='title'>
							{{item.member.nickname}} 
						</div>
						
						<div class='title'>
							商品：{{item.title}}
						</div>
						<div class='title'>
							<span class="label label-success">{{item.statustitle}}</span>
							<span class="red" style="margin-left:0.3rem">￥{{item.price}} <span ng-if="item.bonusmoney>0">（分红额:￥{{item.bonusmoney}}）</span></span>
						</div>
						<div class='gray'>
							单号：{{item.ordersn}}
						</div>
						<div class='gray'>{{item.createtime}}</div>
					</div>
				</div>
		</div>
	 </div>
    </div>
</div>
<div ng-include="sys_html('_footer')"></div>
<script>
scope.tool.get_list('jy_globonus/index/list/',true);
scope.pagedata.scroll_bottom=function(){
	scope.tool.get_list('jy_globonus/index/list/');
}
</script>